/* 
 * File:   typesTiger.cpp
 * Author: Hadrien
 * 
 * Created on 11 juillet 2012, 15:13
 */

#include "typesTiger.h"
//********************* ACTION ********************
TigerAction::TigerAction() {
}

TigerAction::TigerAction(const int& v) {
    m_value = (TigerAction::Actions)v;
}

TigerAction::~TigerAction() {
}


int TigerAction::index() const {
    return m_value;
}
TigerAction::Actions TigerAction::getValue() const {
    return m_value;
}
void TigerAction::setValue(const TigerAction::Actions& v) {
    m_value = v;
}
    
//********************* STATE ********************

TigerState::TigerState() {
}

TigerState::TigerState(const int& v) {
    m_value = (TigerState::States)v;
}

TigerState::~TigerState() {
}

int TigerState::index() const {
    return m_value;
}
TigerState::States TigerState::getValue() const {
    return m_value;
}
void TigerState::setValue(const TigerState::States& v) {
    m_value = v;
}
//********************* OBSERVATION ********************
TigerObservation::TigerObservation() {
    m_final = false;
}

TigerObservation::TigerObservation(const int& v) {
    m_final = false;
    m_value = (TigerObservation::Observations)v;
}

TigerObservation::~TigerObservation() {
}

int TigerObservation::index() const {
    return m_value;
}
TigerObservation::Observations TigerObservation::getValue() const {
    return m_value;
}
void TigerObservation::setValue(const TigerObservation::Observations& v) {
    m_value = v;
}

bool TigerObservation::isFinal() const {
    return m_final;
}
void TigerObservation::setFinal(const bool &final) {
    m_final = final;
}
